/******************************************************************************* * Copyright (c) 2012, Project: FP7-ICT-257930 Aniketos * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * * - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * - Neither the name of institution nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ******************************************************************************/ /** */ package org.eclipse.bpmn2.di; import java.util.List; import org.eclipse.emf.ecore.EObject; /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>Diagram</b></em>'. * <!-- end-user-doc --> * * <p> * The following features are supported: * <ul> * <li>{@link org.eclipse.bpmn2.di.Diagram#getDocumentation <em>Documentation</em>}</li> * <li>{@link org.eclipse.bpmn2.di.Diagram#getOwnedStyle <em>Owned Style</em>}</li> * <li>{@link org.eclipse.bpmn2.di.Diagram#getRootElement <em>Root Element</em>}</li> * <li>{@link org.eclipse.bpmn2.di.Diagram#getId <em>Id</em>}</li> * <li>{@link org.eclipse.bpmn2.di.Diagram#getName <em>Name</em>}</li> * <li>{@link org.eclipse.bpmn2.di.Diagram#getResolution <em>Resolution</em>}</li> * </ul> * </p> * * @see org.eclipse.bpmn2.di.BpmnDiPackage#getDiagram() * @model abstract="true" * extendedMetaData="name='Diagram' kind='empty'" * @generated */ public interface Diagram extends EObject { /** * Returns the value of the '<em><b>Documentation</b></em>' attribute. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Documentation</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Documentation</em>' attribute. * @see #setDocumentation(String) * @see org.eclipse.bpmn2.di.BpmnDiPackage#getDiagram_Documentation() * @model ordered="false" * extendedMetaData="kind='attribute' name='documentation'" * @generated */ String getDocumentation(); /** * Sets the value of the '{@link org.eclipse.bpmn2.di.Diagram#getDocumentation <em>Documentation</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Documentation</em>' attribute. * @see #getDocumentation() * @generated */ void setDocumentation(String value); /** * Returns the value of the '<em><b>Owned Style</b></em>' reference list. * The list contents are of type {@link org.eclipse.bpmn2.di.Style}. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Owned Style</em>' reference list isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Owned Style</em>' reference list. * @see org.eclipse.bpmn2.di.BpmnDiPackage#getDiagram_OwnedStyle() * @model transient="true" changeable="false" derived="true" ordered="false" * @generated */ List<Style> getOwnedStyle(); /** * Returns the value of the '<em><b>Root Element</b></em>' reference. * It is bidirectional and its opposite is '{@link org.eclipse.bpmn2.di.DiagramElement#getOwningDiagram <em>Owning Diagram</em>}'. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Root Element</em>' reference isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Root Element</em>' reference. * @see org.eclipse.bpmn2.di.BpmnDiPackage#getDiagram_RootElement() * @see org.eclipse.bpmn2.di.DiagramElement#getOwningDiagram * @model opposite="owningDiagram" resolveProxies="false" required="true" transient="true" changeable="false" derived="true" ordered="false" * @generated */ DiagramElement getRootElement(); /** * Returns the value of the '<em><b>Id</b></em>' attribute. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Id</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Id</em>' attribute. * @see #setId(String) * @see org.eclipse.bpmn2.di.BpmnDiPackage#getDiagram_Id() * @model id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" * extendedMetaData="kind='attribute' name='id'" * @generated */ String getId(); /** * Sets the value of the '{@link org.eclipse.bpmn2.di.Diagram#getId <em>Id</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Id</em>' attribute. * @see #getId() * @generated */ void setId(String value); /** * Returns the value of the '<em><b>Name</b></em>' attribute. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Name</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Name</em>' attribute. * @see #setName(String) * @see org.eclipse.bpmn2.di.BpmnDiPackage#getDiagram_Name() * @model ordered="false" * extendedMetaData="kind='attribute' name='name'" * @generated */ String getName(); /** * Sets the value of the '{@link org.eclipse.bpmn2.di.Diagram#getName <em>Name</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Name</em>' attribute. * @see #getName() * @generated */ void setName(String value); /** * Returns the value of the '<em><b>Resolution</b></em>' attribute. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Resolution</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Resolution</em>' attribute. * @see #setResolution(float) * @see org.eclipse.bpmn2.di.BpmnDiPackage#getDiagram_Resolution() * @model ordered="false" * extendedMetaData="kind='attribute' name='resolution'" * @generated */ float getResolution(); /** * Sets the value of the '{@link org.eclipse.bpmn2.di.Diagram#getResolution <em>Resolution</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Resolution</em>' attribute. * @see #getResolution() * @generated */ void setResolution(float value); } // Diagram